|
Quaqua 3.9.5 2007-10-21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.LookAndFeel
javax.swing.plaf.basic.BasicLookAndFeel
ch.randelshofer.quaqua.LookAndFeelProxy
ch.randelshofer.quaqua.subset.Quaqua14MenuLAF
public class Quaqua14MenuLAF
The Quaqua14MenuLAF is an extension for Apple's Aqua Look and Feel for Java 1.4 on Mac OS X 10.3 (Panther).
The Quaqua Look and Feel can not be used on other platforms than Mac OS X.
Important: This class is a cut down version of the Quaqua14TigerLookAndFeel. It is for use by applications which don't need (or don't work with) the whole of the Quaqua Look and Feel.
QuaquaManager to activate this look and feel in
your application. Or use the generic QuaquaLookAndFeel. Both
are designed to automatically detect the appropriate Quaqua Look and Feel
implementation for current Java VM.
QuaquaManager,
QuaquaLookAndFeel,
Serialized Form| Field Summary | |
|---|---|
protected static java.lang.String |
commonDir
|
protected static java.lang.String |
jaguarDir
|
protected static javax.swing.plaf.FontUIResource |
MENU_FONT
The menu font (Lucida Grande Regular 14 pt) is used for text in menus and window title bars. |
protected static java.lang.String |
pantherDir
|
protected static java.lang.String |
tigerDir
|
| Fields inherited from class ch.randelshofer.quaqua.LookAndFeelProxy |
|---|
target |
| Constructor Summary | |
|---|---|
Quaqua14MenuLAF()
Creates a new instance. |
|
| Method Summary | |
|---|---|
protected javax.swing.Icon |
createButtonStateIcon(java.lang.String location,
int states)
|
javax.swing.UIDefaults |
getDefaults()
This method is called once by UIManager.setLookAndFeel to create the look and feel specific defaults table. |
java.lang.String |
getDescription()
Return a one line description of this look and feel implementation, e.g. |
java.lang.String |
getName()
Return a short string that identifies this look and feel, e.g. |
protected void |
initClassDefaults(javax.swing.UIDefaults table)
Initialize the uiClassID to BasicComponentUI mapping. |
protected void |
initComponentDefaults(javax.swing.UIDefaults table)
|
void |
initialize()
UIManager.setLookAndFeel calls this method before the first call (and typically the only call) to getDefaults(). |
protected java.lang.Object |
makeButtonStateIcon(java.lang.String location,
int states)
|
protected javax.swing.Icon[] |
makeIcons(java.lang.String location,
int count,
boolean horizontal)
|
| Methods inherited from class ch.randelshofer.quaqua.LookAndFeelProxy |
|---|
getID, getSupportsWindowDecorations, isNativeLookAndFeel, isSupportedLookAndFeel, provideErrorFeedback, setTarget, toString, uninitialize |
| Methods inherited from class javax.swing.plaf.basic.BasicLookAndFeel |
|---|
createAudioAction, getAudioActionMap, initSystemColorDefaults, loadSystemColors, playSound |
| Methods inherited from class javax.swing.LookAndFeel |
|---|
getDesktopPropertyValue, getDisabledIcon, getDisabledSelectedIcon, installBorder, installColors, installColorsAndFont, installProperty, loadKeyBindings, makeComponentInputMap, makeIcon, makeInputMap, makeKeyBindings, uninstallBorder |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String commonDir
protected static final java.lang.String jaguarDir
protected static final java.lang.String pantherDir
protected static final java.lang.String tigerDir
protected static final javax.swing.plaf.FontUIResource MENU_FONT
| Constructor Detail |
|---|
public Quaqua14MenuLAF()
| Method Detail |
|---|
public java.lang.String getDescription()
getDescription in class LookAndFeelProxypublic java.lang.String getName()
getName in class LookAndFeelProxypublic void initialize()
initialize in class LookAndFeelProxyLookAndFeelProxy.uninitialize(),
UIManager.setLookAndFeel(javax.swing.LookAndFeel)public javax.swing.UIDefaults getDefaults()
getDefaults in class LookAndFeelProxyinitialize(),
LookAndFeelProxy.uninitialize(),
UIManager.setLookAndFeel(javax.swing.LookAndFeel)protected void initClassDefaults(javax.swing.UIDefaults table)
initClassDefaults in class javax.swing.plaf.basic.BasicLookAndFeelgetDefaults()protected void initComponentDefaults(javax.swing.UIDefaults table)
initComponentDefaults in class javax.swing.plaf.basic.BasicLookAndFeel
protected javax.swing.Icon[] makeIcons(java.lang.String location,
int count,
boolean horizontal)
protected java.lang.Object makeButtonStateIcon(java.lang.String location,
int states)
protected javax.swing.Icon createButtonStateIcon(java.lang.String location,
int states)
|
Copyright 2003-2007 (c) Werner Randelshofer. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||